!function(window) {
	
	var document = window.document,
		$ = window.__jipin_$;
	
	window.__jipin_getSitePicDesc = function(targetPic) {
		var picDesc = {'title' : $(targetPic).attr('title') || '', 'price' : ''};
		
		try {
			if($('.h1_title').length && $('#salePriceTag').length) {
				picDesc.title = $.trim($('.h1_title h1').text());
				
	    		var price = $('.promotions_price_d').text() || $('#salePriceTag').text();
	    		picDesc.price = price && $.trim(price).replace(/\s/, '') || '';
	    	}
		} catch(e) {}
    	return picDesc;
	}

	window.__jipin_sitedata = window.__jipin_getSitePicDesc();
	
}(window);
